import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    connectStr:"未连接"
  },
  mutations: {
    setConnectStr(state,data){
      state.connectStr = data
    }
  },
  getters:{
    connectStr:(state)=>state.connectStr
  },
  actions: {
  },
  modules: {
  }
})
